Fix pytables expressions with Python 3.9
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Mon, 7 Dec 2020 23:06:28 +0000 (23:06 +0000)
committerRebecca N. Palmer <rebecca_palmer@zoho.com>
Mon, 7 Dec 2020 23:06:28 +0000 (23:06 +0000)
commita40095013025006c2fad0eea2a647f2987ca8965
tree2a783255f7538edd658d83775991901319c75ff7
parentaf37792d2defa8d76d08e1f395a35f7b42dc717d
Fix pytables expressions with Python 3.9

ast.Index has been replaced by a bare value, so we need to do the
conversion from Constant to int

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/972015
Forwarded: https://github.com/pandas-dev/pandas/issues/37217

Gbp-Pq: Name python39_compat.patch
pandas/core/computation/pytables.py